﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Adminitrator.master" AutoEventWireup="true" CodeFile="Details.aspx.cs" Inherits="admin_Articles_Details" ValidateRequest="false" %>

<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>


<asp:Content ID="Content1" ContentPlaceHolderID="Content" Runat="Server">
    <h1 id="h3Title" class="title" runat="server">
    Thêm mới bài viết</h1>
  <div class="detail ">
    <fieldset class="fieldset">
      <legend>Thông tin bài viết</legend>
      <table style="width: 100%">
       <tr>
          <td>Danh mục cha </td>
          <td><asp:DropDownList ID="dropParent" runat="server" CssClass="dropdown" Width="180px"/></td>
        </tr> 
        <tr>
          <td>Ảnh đại diện </td>
          <td>
            <asp:FileUpload ID="fileUpload" runat="server" /> &nbsp;<small>Ảnh đại diện để kích cỡ 
              200 x 150 (px)</small>              
          </td> 
        </tr>
         <tr>
          <td valign="top" style="padding-top: 8px">
            Tiêu đề bài viết
          </td>
          <td>
             <asp:TextBox ID="txtName" runat="server" CssClass="textBox" Width="580px" />              
          </td>
        </tr>         
        <tr style="margin-top:5px">
          <td valign="top">Mô tả  </td>
          <td>
              <asp:TextBox ID="txtDescription" runat="server" Width="580px" TextMode="MultiLine" Rows="2" />
         </td>
        </tr>  
       <tr>
       <td valign="top">Nội dung</td>
       <td>
            <FCKeditorV2:FCKeditor ID="fckEditor" runat="server" Width="750px" 
                     Height="400px" BasePath="~/fckeditor/">
                   </FCKeditorV2:FCKeditor>
       </td>
        </tr> 
        <tr>
          <td valign="top" style="padding-top: 8px">
            Chèn thư viện hình ảnh
          </td>
          <td><asp:DropDownList ID="dropGallery" runat="server" CssClass="dropdown" Width="180px"/></td>
        </tr>  
        <tr>
          <td valign="top" style="padding-top: 8px">
            Chèn video
          </td>
          <td><asp:DropDownList ID="dropVideo" runat="server" CssClass="dropdown" Width="180px"/></td>
        </tr>          
        <tr>
          <td>Tình trạng </td>
          <td><asp:RadioButton ID="radioEnable" GroupName="radioStatus" runat="server" 
              Checked="true" />Bật
          <asp:RadioButton ID="radioVisible" GroupName="radioStatus" runat="server"/>Tắt</td>
        </tr>
        <tr>
          <td>Lượt xem</td>
          <td><asp:TextBox ID="txtView" runat="server" CssClass="textBox" /></td>
        </tr>
        <tr>
          <td>Ngày viết</td>
          <td><asp:TextBox ID="txtCreadDate" runat="server" CssClass="textBox" /></td>
        </tr>
         <tr>
          <td>
            &nbsp;
          </td>
          <td style="padding-top: 10px">
            <asp:Button ID="btnOk" runat="server" Text="" CssClass="button btn-save" OnClick="btnOk_Click" />
            <input type="reset" value="" class="button btn-reset" />
            <asp:HyperLink ID="btnBack" runat="server" Text="Danh sách" CssClass="button btn-back"
              NavigateUrl="~/admin/Articles/List.aspx" />
          </td>
        </tr>
      </table>
    </fieldset>
  </div>
   <div>
   <asp:Literal ID="lbThongBao" runat="server" />
   </div>
</asp:Content>


